//app.js
var util = require('utils/util.js');
var api = require('config/api.js');

App({
  data: {
    userInfo:{},
    unionid: ""
  },
  onLaunch: function () {
    // 展示本地存储能力
    var logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)
    
  },
  

  globalData: {
    userInfo: wx.getStorageSync('userInfo'),
    unionid: wx.getStorageSync('unionid')
  }

})
